﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebAPI_Model.MaterialsManagement
{
    /// <summary>
    /// 入库管理
    /// </summary>
    [Table("StockManagement")]
    public class StockManagement : Audit
    {
        /// <summary>
        /// 货物ID
        /// </summary>
        [Key]
        public int SMcargoID { get; set; }
        /// <summary>
        /// 货物名称
        /// </summary>
        public string? SMcargoName { get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public string? patternOfPayment { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int typeID { get; set; }
        /// <summary>
        /// 材  质
        /// </summary>
        public int materiaLqualityID { get; set; }
        /// <summary>
        /// 规  格
        /// </summary>
        public string? gaugeLattice { get; set; }
        /// <summary>
        /// 产  地：国家
        /// </summary>
        public int nationID { get; set; }
        /// <summary>
        /// 产  地：省
        /// </summary>
        public int provinceID { get; set; }
        /// <summary>
        /// 单  价
        /// </summary>
        public decimal singleValence { get; set; }
        /// <summary>
        /// 数  量
        /// </summary>
        public int quantity {  get; set; }
        /// <summary>
        /// 备  注
        /// </summary>
        public string? reserveNote { get; set; }
    }
}
